package com.meida.app.provider.event;

import com.meida.module.user.client.dto.RegisterParams;
import com.meida.module.user.client.entity.AppUser;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

@Getter
public class UserRegEvent extends ApplicationEvent {


    private RegisterParams registerParams;
    private AppUser appUser;

    /**
     * 重写构造函数
     */
    public UserRegEvent(Object source, RegisterParams registerParams, AppUser appUser, String originService) {
        super(source);
        this.registerParams = registerParams;
        this.appUser = appUser;
    }
}
